/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-08-16  12:56
 */
class Aanimal {
    public int a = 99;
    public int b = 100;
}
class Pig extends Aanimal {
    public int a = 88;
    public char b = 'c';
    public void method() {
        System.out.println(a);
        System.out.println(b);
    }
}
public class Test5 {
    public static void main(String[] args) {
        Pig pig = new Pig();
        System.out.println(pig.a);
        System.out.println(pig.b);
    }

}
